package com.my.simple.repository.dao;

import com.my.simple.entity.dictionary.DictionaryOption;

import java.util.List;

public interface DictionaryOptionDao {
    void addDictionaryOption(DictionaryOption dictionaryOptionItem);

    void deleteDictionaryOption(Integer typeId, Integer optionId);

    void updateDictionaryOption(DictionaryOption dictionaryOptionItem);

    List<DictionaryOption> getDictionaryOptionByTypeId(Integer typeId);

    DictionaryOption getDictionaryOptionById(Integer typeId, Integer optionId);

    List<DictionaryOption> getAllDictionaryOption();
}
